<template>
  <a href="javascript:;" @click="change"><slot></slot></a>
</template>

<script>
export default {
    name:'DropdownItem',
    methods: {
        change(){
            console.log(this.index)
        }
    },
}
</script>

<style>

</style>